<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    

</head>
<body>

    <!-- <script type="text/javascript">

        function test() {
            alert("Hello");
        }

    </script>

    <a href="" onclick="test()">测试</a> -->

    <!-- typeof 操作符 -->
    <script type="text/javascript">
        var s = "hello"
        var i = 10
        var bool = false
        var t = null
        var t1 = undefined

        // alert(typeof s) // string
        // alert(typeof i) // number
        // alert(typeof bool) // boolean
        // alert(typeof t) // object
        // alert(typeof t1) // undefined
        console.log(t)

    </script>

</body>
</html>